$(document).ready(function () {
      // 选项卡
      $(".my-title div").click(function(){
        var index=$(".my-title div").index(this);
        $('.all').attr('onclick','getAll('+index+')');
        $(".my-title div").css({ borderBottom: "0", color: "#333",fontWeight:"normal" });
        $(".my-title div:eq(" + index + ")").css({ borderBottom: "2px solid #49ade4", color: "#333",fontWeight:"bold" });
        $(".my-con").css({display:"none"});
        $(".my-con:eq(" + index + ")").css({display:"block"});
        setTimeout(function () {
                myScroll.refresh();
            }, 0);
      })
})

